<!-- 搜索框及工具条 -->
<div class="c-head-box">
    <form method="get" action="{:Url('credit_share_log')}">
        <ul>
            <li class="c-head-search">
                <!-- 搜索条件 -->
                <ul>
                    <li><span>用户编号：</span><input type="text" name="user_id" value="{$user_id}"/></li>
                    <li><span>信用卡编号：</span><input type="text" name="credit_product_id" value="{$credit_product_id}"/></li>
                </ul>
            </li>
            <li class="c-head-button">
                <!-- 操作按钮 -->
                <div class="fr"><input type="submit" class="but_blue" value="搜索"></div>
            </li>
        </ul>
    </form>
</div>

<!--用户列表-->
<div class="lists-tab-cont">
    <div class="lists-table">
        <table class="pointer" cellpadding="0" cellspacing="0" border="0">
            <thead>
                <tr>
                    <th style="width: 5%;" class="tabSort-header"><a class="tabSort-header-inner"><p>用户编号</p></a></th>
                    <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>用户昵称</p></a></th>
                    <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>信用卡编号</p></a></th>
                    <th style="width: 20%;" class="tabSort-header"><a class="tabSort-header-inner"><p>信用卡名称</p></a></th>
                    <th style="width: 12%;" class="tabSort-header"><a class="tabSort-header-inner"><p>分享平台</p></a></th>
                    <th style="width: 12%;" class="tabSort-header"><a class="tabSort-header-inner"><p>分享时间</p></a></th>
                </tr>
            </thead>
            <tbody>
                {foreach name="credit_share_list" item="info"}
                    <tr>
                        <td>{$info.user_id}</td>
                        <td>{:widget('common/Name/user',array($info['user_id']))}</td>
                        <td>{$info.credit_product_id}</td>
                        <td>{:widget('common/Name/credit',array($info['credit_product_id']))}</td>
                        <td>{:widget('common/Color/Color',array("share_type",$info['share_type']))}</td>
                        <td>{$info.create_time}</td>
                    </tr>
                {/foreach}
            </tbody>
        </table>
    </div>

    <!-- 翻页模板 -->
    <div class="page">
        {$Think.config.page_html}
    </div>
</div>
